﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.WindowsAzure.StorageClient;
using System.Diagnostics;
using Microsoft.WindowsAzure.ServiceRuntime;

namespace BusinessStorage
{
    [DebuggerDisplay("[Id = {Id}; Name = {FirstName} {LastName}]")]
    public class User : TableServiceEntity
    {
        public User(Guid id)
        {
            PartitionKey = RoleEnvironment.CurrentRoleInstance.Id;
            RowKey = Id.ToString();
        }

        public Guid Id { get; set; }
        public String LastName { get; set; }
        public String FirstName { get; set; }
        public String FacebookToken { get; set; }
        public String FacebookId { get; set; }
        public List<Guid> FollowedUser { get; set; }

    }
}
